home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / prospero / propsero.lha / prospero-beta.4.2e / server / dirsrv.h < prev    next >
C/C++ Source or Header  |  1992-02-10  |  2KB  |  34 lines

  1. /*
  2.  * Copyright (c) 1989, 1990, 1991 by the University of Washington
  3.  *
  4.  * For copying and distribution information, please see the file
  5.  * <uw-copyright.h>.
  6.  */
  7.  
  8. #include <uw-copyright.h>
  9.  
  10. #define MAX_VERSION    1    /* Highest version number supported     */
  11. #define MIN_VERSION    1    /* Lowest version number supported     */
  12.  
  13. /* Commands */
  14.  
  15. #define UNIMPLEMENTED     0    /* Unimplemented                 */
  16. #define VERSION         1    /* Set or request protocol version number */
  17. #define AUTHENTICATOR     2    /* Provides authentication information      */
  18. #define DIRECTORY     3    /* Set current working directory      */
  19. #define LIST         4    /* List directory links matching args      */
  20. #define GET_OBJECT_INFO     5    /* Requests information about a file      */
  21. #define EDIT_OBJECT_INFO 6    /* used to change file attributes       */
  22. #define CREATE_LINK     7    /* Adds a new link to a directory      */
  23. #define DELETE_LINK     8    /* Removes existing link from directory      */
  24. #define MODIFY_LINK      9    /* Changes information about link      */
  25. #define CREATE_OBJECT    10    /* Creates new file and returns pointer      */
  26. #define TERMINATE        11    /* Requests that server terminate      */
  27. #define CREATE_DIRECTORY 12     /* Create new directory and returns ptr   */
  28. #define UPDATE         13     /* Update link by chasing forwarding ptr  */
  29. #define STATUS           14     /* Return server status                   */
  30. #define LIST_ACL         15     /* Return access control list             */
  31. #define MODIFY_ACL       16     /* Modify access control list             */
  32. #define PACKET           17     /* Multi packet request (not implemented) */
  33. #define RESTART         18    /* Requests that server restart itself    */
  34.